package com.doubi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doubi.entity.Commenttable;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommenttableService extends IService<Commenttable> {
    public Commenttable getLastComment();

    public int countByRid(int rid);
    public List<Commenttable> getCommentByRid(List<Integer> rid);
    public int updateComment(List<Integer> cid);

    Integer getLastCommentCount(Integer releaseId);
    /**
     * 评论点赞
     */
    public Integer updateLikeComment(Commenttable commenttable);

}
